import requests

url = "http://httpbin.org/post"
headers = {"Authorization": "Token <PASSWORD>"}
data = {"username": "admin", "password": "123456"}
response = requests.post(url, headers=headers, data=data)
print(response.text)
print(response.json())


# 1. 创建一个 Session 实例。
session = requests.Session()